package org.abc.fund.service.strategy.request.create_strategy;

import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import lombok.Data;
import org.abc.fund.entity.strategy.RebalanceRule;

@Data
public class RebalanceRuleRequest {
  @NotNull(message = "再平衡类型不能为空")
  private RebalanceRule.Type type;

  private RebalanceRule.Frequency frequency;
  private BigDecimal threshold;
}
